<?php

namespace app\service\admin;

use app\db\admin\D_adminRole;

//数据库操作层代理,功能衔接逻辑层和数据库操作层
class S_adminRole
{
    public $D_adminRole;

    public function __construct()
    {
        $this->D_adminRole = new D_adminRole();
    }

    /**
     * 添加角色
     * @param string $paramObj
     * @return array
     */
    public function store($paramObj = ""): array
    {
        return $this->D_adminRole->store($paramObj);
    }

    public function update($paramObj = ""): array
    {
        return $this->D_adminRole->update($paramObj);
    }

    public function info($paramObj = ""): array
    {
        return $this->D_adminRole->info($paramObj);
    }

    public function delete($paramObj = ""): array
    {
        return $this->D_adminRole->delete($paramObj);
    }
    public function listData($paramObj = ""): array
    {
        return $this->D_adminRole->listData($paramObj);
    }

    public function getAll($paramObj = ""): array
    {
        return $this->D_adminRole->getAll($paramObj);
    }

    public function idsInfo($paramObj = ""): array
    {
        return $this->D_adminRole->idsInfo($paramObj);
    }

}